package com.study.demo_interceptor.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: HelloController
 * @Descript
 * @author: WS
 * @date 2020/12/12
 * @Version: 1.0
 **/
@RestController
public class HelloController {
    @GetMapping("/")
    public String sayHello(){
        return "hello";
    }
}
